The Graphic Libraries
There are two graphic libraries that are available, Symbol Factory and Graphics Library. The Graphics Library comes with a number of ready-made graphic displays containing objects that you can use in other displays. The sample graphic displays in the libraries show you how to:
- use drawing objects and interactive objects in your graphic displays
- set up the different objects to interact with each other
- use visual design elements, such as the color and arrangement of objects in the display, to make your displays easy to use
To use objects from the Graphic Libraries
- Open the library display containing the objects you want to use.
- Open the graphic display you want to put the objects in.
- Drag and drop the objects from the library display to the graphic display.
Any animation that has been attached to an object will be carried along with it.
To use objects from Symbol Factory
- Open the graphic display you intend to put the objects in.
- Click on Symbol Factory from the Explorer, the Objects menu, or the icon in the Objects toolbar.
- Select the category for the graphic you are looking for and browse the thumbnail images.
- Select the image object you want to use.
- Drag and drop the object from Symbol Factory to the graphic display.
Note that Symbol Factory offers other features to modify the image before bringing it into the display. The topic "Use Symbol Factory" has more information.
To create a new display for the Graphic Libraries
- To open the editor, right-click Libraries and select New, or drag-and-drop the library icon into the display pane.
- Create the display just as you would any graphic display.
- Save the graphic display. It is automatically saved in the Libraries directory.
To copy an existing graphic display to the Graphic Libraries
- Highlight Libraries, then right-click to display the context menu.
- Choose Add Component Into Application from the Context menu.
- Select the graphic display you want to add, then click OK.
To set up support for multiple languages in a graphic library
By default, libraries shipped with FactoryTalk View are not set up to support multiple languages. Text strings in these libraries always display as shipped, regardless of the current application language, and will never show as undefined. If you change these displays to support multiple languages (using the steps below), only those text strings in the library that are in the current application language will show correctly. Strings in any other language will display as undefined, that is, as question marks.
On the other hand, new library displays that you create in an application do support multiple languages by default. If the objects in your application displays already have multiple language strings, copying them to the library display will not automatically delete any strings that are not in the current application language. If you turn off multiple language support for a new library display, only text strings using the current application language will be saved. All others will be deleted when you save the change.
- In the Explorer window, double-click the library to open the display.
- Right-click the graphic library display and then click Display Settings.
- In the Properties tab, select the Support Multiple Languages check box. To remove support for multiple languages, clear the check box.
When you save the graphic library display, all strings that support language switching are saved in the application's current language.
Tip: |
- If you copy an object from a graphic library that supports multiple languages into a graphic display, only strings using a language that is supported by the application are copied. Any strings using a language that has not been added to the application are not copied.
- If you copy an entire graphic library that supports multiple languages into the Displays folder, all text strings are copied with the library.
|
See also
Create graphic displays
Edit graphic displays
Use Symbol Factory
Locate the graphic libraries
The Graphic Libraries
Context menu
Keywords: graphic library